home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Personal Computer World 2009 February
/
PCWFEB09.iso
/
Software
/
Full
/
Paragon Drive Backup 9
/
DB90_SE_x64.msi
/
Data1.cab
/
_7F2FA1706CE34A608BE5AFE09C531AE5
< prev
next >
Wrap
Extensible Markup Language
|
2008-06-28
|
5KB
|
100 lines
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:msxsl="urn:schemas-microsoft-com:xslt" version="1.0">
<xsl:output method="html" version="4.0" encoding="UTF-8" omit-xml-declaration="yes" indent="yes"/>
<xsl:include href="./resource/html/propcell.xsl"/>
<xsl:template match="/Root">
<html>
<table>
<tr>
<!-- Object header -->
<td colspan="4">
<h2><xsl:value-of select="PropertyBag/Property[@name='PROPID_DISPLAYNAME']"/></h2>
<img src="hline_gray"/>
</td>
</tr>
<tr>
<!-- Diagram image -->
<!-- properties list -->
<td>
<table cellspacing="0" cellpadding="0">
<xsl:call-template name="PropCell">
<xsl:with-param name="PropName" select="string('PROPID_HDM_SIZESTRING')"/>
<xsl:with-param name="CheckNull" select="1"/>
</xsl:call-template>
<xsl:call-template name="PropCell">
<xsl:with-param name="PropName" select="string('PROPID_ADB_ARCHIVESIZESTRING')"/>
</xsl:call-template>
<xsl:call-template name="PropCell">
<xsl:with-param name="PropName" select="string('PROPID_ADB_LOCATION')"/>
</xsl:call-template>
<xsl:variable name="BaseName" select="string(PropertyBag/Property[@name='PROPID_ADB_BASELOCATION'])"/>
<xsl:if test="$BaseName != ''">
<xsl:call-template name="PropCell">
<xsl:with-param name="PropName" select="string('PROPID_ADB_BASELOCATION')"/>
<xsl:with-param name="CheckNull" select="1"/>
</xsl:call-template>
</xsl:if>
<xsl:call-template name="PropCell">
<xsl:with-param name="PropName" select="string('PROPID_ADB_CREATIONDATESTRING')"/>
</xsl:call-template>
<xsl:call-template name="PropCell">
<xsl:with-param name="PropName" select="string('PROPID_ADB_LONGCOMMENT')"/>
<xsl:with-param name="CheckNull" select="1"/>
<xsl:with-param name="WordWrap" select="1"/>
</xsl:call-template>
<xsl:if test="number(PropertyBag/Property[@name='PROPID_ADB_FLAGS_LIST']/ListVal) != 0">
<tr>
<td align="right" valign="top">
<nobr>
<b>QT_TRANSLATE_NOOP("QObject", "Flags:")</b>
</nobr>
</td>
<td width="100%">
<table cellspacing="0" cellpadding="0">
<xsl:for-each select="PropertyBag/Property[@name='PROPID_ADB_FLAGS_LIST']/ListVal">
<tr>
<td>
<img>
<xsl:attribute name="src">
<xsl:value-of select="ListVal[@index=1]"/>
</xsl:attribute>
</img>
</td>
<td width="100%">
<xsl:value-of select="ListVal[@index=2]"/>
</td>
</tr>
</xsl:for-each>
</table>
</td>
</tr>
</xsl:if>
</table>
</td>
<td width="100%"> </td>
</tr>
<tr>
<!-- Divider line -->
<td colspan="4">
<img src="hline_gray"/>
</td>
</tr>
</table>
<!-- Command hyperlinks -->
<xsl:call-template name="CommandTable"/>
</html>
</xsl:template>
</xsl:stylesheet>